﻿@model OnlineEducation.Data.Entities.Lesson
@{
    Layout = null;
}

<div class="modal-header">
    <h4 class="modal-title">查看课时</h4>
    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
</div>

<form onsubmit="">
    <div class="modal-body p-4">
        <div asp-validation-summary="ModelOnly" class="text-danger"></div>

        <div class="row">
            <div class="col-md-12">
                <div class="form-group">
                    <span class="text-danger">*</span><label asp-for="Sequence" class="control-label"></label>
                    <input asp-for="Sequence" class="form-control" placeholder="输入序号" readonly="readonly" />
                    <span asp-validation-for="Sequence" class="text-danger"></span>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-md-12">
                <div class="form-group">
                    <span class="text-danger">*</span><label asp-for="Title" class="control-label" ></label>
                    <input asp-for="Title" class="form-control" placeholder="输入标题" readonly="readonly"/>
                    <span asp-validation-for="Title" class="text-danger"></span>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-md-12">
                <div class="form-group">
                    <label asp-for="Duration" class="control-label"></label>
                    <input asp-for="Duration" class="form-control" placeholder="请输入时长" readonly="readonly"/>
                    <span asp-validation-for="Duration" class="text-danger"></span>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-md-12">
                <div class="form-group">
                    <label asp-for="Chapter" class="control-label"></label>
                    <input asp-for="Chapter" class="form-control" placeholder="请输入章名" readonly="readonly" />
                    <span asp-validation-for="Chapter" class="text-danger"></span>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-md-12">
                <div class="form-group">
                    <label asp-for="Section" class="control-label"></label>
                    <input asp-for="Section" class="form-control" placeholder="请输入节名" readonly="readonly" />
                    <span asp-validation-for="Section" class="text-danger"></span>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-md-12">
                <div class="form-group">
                    <label asp-for="Description" class="control-label"></label>
                    <textarea asp-for="Description" class="form-control" placeholder="请输入描述" readonly="readonly" rows="3"></textarea>
                    <span asp-validation-for="Description" class="text-danger"></span>
                </div>
            </div>
        </div>


      
        <div class="row">
            <div class="col-md-12">
                <div class="form-group">
                    <label class="control-label" for="course-cover">课件</label>
                    <a target="_blank" href="@Model.MaterialURLs">打开</a>
                </div>

            </div>
        </div>
    </div>
    <div class="modal-footer">
        <button type="button" class="btn btn-secondary waves-effect" data-dismiss="modal">关闭</button>
      
    </div>
</form>
<script>
    Ladda.bind('.btn-primary', { timeout: 1000 });
    $(function () {
    



    });
</script>



